package site.shader85.OICQBind;

import org.bukkit.Bukkit;
import org.bukkit.configuration.file.YamlConfiguration;

public class DeamonWriter implements Runnable{

	
	XlsWriter xwt;
	public DeamonWriter(YamlConfiguration yml,BindPlugin b){
		xwt = new XlsWriter(yml, b);
		
	}
	
	@Override
	public void run() {
		xwt.write("data.xls");
		Bukkit.getLogger().info("生成文件已经保存到plugin/OICQBind/data.xls");
	}
}
